package com.mtw.bbs.message;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication(scanBasePackages = "com.mtw.bbs.**")
@EnableDiscoveryClient
@MapperScan("com.mtw.bbs.**.mapper")
@EnableFeignClients(basePackages = {"com.mtw.bbs"})
public class MessageApplication {

    public static void main(String[] args) {
        SpringApplication.run(MessageApplication.class, args);
    }
}
